﻿// -----------------------------------------------------------------------
// <copyright file=DmDichVuChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmDichVuChiTietBusiness
    {
        DmDichVuChiTietDataAccess objDa = null;

        public DmDichVuChiTietBusiness()
        {
            objDa = new DmDichVuChiTietDataAccess();
        }

        public bool InsertDmDichVuChiTiet(DmDichVuChiTietEntity obj)
        {
            return objDa.InsertDmDichVuChiTiet(obj);
        }

        public bool EditDmDichVuChiTiet(DmDichVuChiTietEntity obj)
        {
            return objDa.EditDmDichVuChiTiet(obj);
        }

        public bool DeleteDmDichVuChiTiet(string maChiTieu)
        {
            return objDa.DeleteDmDichVuChiTiet(maChiTieu);
        }

        public DmDichVuChiTietEntity GetDmDichVuChiTiet(string maChiTieu)
        {
            return objDa.GetDmDichVuChiTiet(maChiTieu);
        }

        public IList<DmDichVuChiTietEntity> GetDmDichVuChiTietByDichVu(string maDichVu)
        {
            return objDa.GetDmDichVuChiTietByDichVu(maDichVu);
        }

        public IList<DmDichVuChiTietEntity> GetDmDichVuChiTietList()
        {
            return objDa.GetDmDichVuChiTietList();
        }

    }
}